/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.dengues.model.database;

import org.eclipse.emf.common.util.EList;


/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Foreign Key</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.dengues.model.database.ForeignKey#getSource <em>Source</em>}</li>
 *   <li>{@link org.dengues.model.database.ForeignKey#getTarget <em>Target</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.dengues.model.database.DatabasePackage#getForeignKey()
 * @model
 * @generated
 */
public interface ForeignKey extends AbstractDBObject {
    /**
     * Returns the value of the '<em><b>Source</b></em>' reference.
     * It is bidirectional and its opposite is '{@link org.dengues.model.database.DBColumn#getOutputs <em>Outputs</em>}'.
     * <!-- begin-user-doc -->
     * <p>
     * If the meaning of the '<em>Source</em>' reference isn't clear,
     * there really should be more of a description here...
     * </p>
     * <!-- end-user-doc -->
     * @return the value of the '<em>Source</em>' reference.
     * @see #setSource(DBColumn)
     * @see org.dengues.model.database.DatabasePackage#getForeignKey_Source()
     * @see org.dengues.model.database.DBColumn#getOutputs
     * @model opposite="outputs"
     * @generated
     */
    DBColumn getSource();

    /**
     * Sets the value of the '{@link org.dengues.model.database.ForeignKey#getSource <em>Source</em>}' reference.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @param value the new value of the '<em>Source</em>' reference.
     * @see #getSource()
     * @generated
     */
    void setSource(DBColumn value);

    /**
     * Returns the value of the '<em><b>Target</b></em>' container reference.
     * It is bidirectional and its opposite is '{@link org.dengues.model.database.DBColumn#getInputs <em>Inputs</em>}'.
     * <!-- begin-user-doc -->
     * <p>
     * If the meaning of the '<em>Target</em>' container reference isn't clear,
     * there really should be more of a description here...
     * </p>
     * <!-- end-user-doc -->
     * @return the value of the '<em>Target</em>' container reference.
     * @see #setTarget(DBColumn)
     * @see org.dengues.model.database.DatabasePackage#getForeignKey_Target()
     * @see org.dengues.model.database.DBColumn#getInputs
     * @model opposite="inputs" transient="false"
     * @generated
     */
    DBColumn getTarget();

    /**
     * Sets the value of the '{@link org.dengues.model.database.ForeignKey#getTarget <em>Target</em>}' container reference.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @param value the new value of the '<em>Target</em>' container reference.
     * @see #getTarget()
     * @generated
     */
    void setTarget(DBColumn value);

} // ForeignKey
